package tur.br.moradadosol.dao;

import java.util.Collection;

import tur.br.moradadosol.model.Hospede;

public interface HospedeDAO {
	
	public void insert(Hospede hospede) throws Exception;
	
	public void update(Hospede hospede) throws Exception;
	
	public void delete(int codigo) throws Exception;
	
	public Hospede getHospedeByCodigo(int codigo) throws Exception;
	
	public Collection getHospedes() throws Exception;
	
	public Collection getHospedesByNome(String nome) throws Exception;

}
